package class3_9;

import javax.swing.JOptionPane;

public class ComputeTest {

	public static void main(String[] args) {
		int y = add(11,2);
		System.out.println(y);
		
	}
	
	public static int add(int a,int b) {
		int c = a+b;
		for(int i=0;i<5;i++) {
			if(i>3) {
				System.out.println("&");
				return 1;
			}
		}
		System.out.println("***********");
		
			return 0;
	
	}
	
	public static int[] copyArray(int[] array) {
		int[] newArray = new int[array.length];
		
		for(int i=0;i<array.length;i++) {
			newArray[i] = array[i];
		}
		
		return newArray;
	}

}
